class CreateUsers < ActiveRecord::Migration
  def self.up
    create_table :users do |t|
      t.string :user_code
      t.string :user_name
      t.integer :user_dep_id
      t.string :user_sex
      t.integer :user_kind_id
      t.integer :user_level_id

      t.timestamps
    end
  end

  def self.down
    drop_table :users
  end
end
